﻿namespace WechatMp.Web
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class UserInfo
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string UserName { get; set; } = string.Empty;

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; } = string.Empty;

        /// <summary>
        /// 账号类型
        /// </summary>
        public UserTypeEnum UserType { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        public List<long> Role { get; set; } = new List<long>();
    }
}
